package com.hwy.chart.coordinate

import android.graphics.Canvas
import android.graphics.RectF

/**
 * =======================================
 * 作者: hewenyu
 * 日期: 2022/5/10 15:30
 * 说明: 坐标系实现类
 * =======================================
 */
open class SimpleCoordinate<T, E> : BaseCoordinate<T, E>() where E : Number, E : Comparable<E> {

    override fun draw(canvas: Canvas, bounds: RectF) {
        // 绘制网格线
        drawGridLine(canvas, bounds)
        // 绘制坐标轴
        drawAxis(canvas, bounds)
    }

}